def merge_sort_and_top(t1, t2, n=5):
    merged_tuple = t1 + t2

    sorted_list = sorted(list(merged_tuple))

    top_n_list = sorted_list[:n]

    return tuple(top_n_list)


if __name__ == '__main__':
    result = merge_sort_and_top((7, 3, 10, 5), (6, 2, 8, 4), n=3)
    print(result)

    result2 = merge_sort_and_top((7, 3, 10, 5), (6, 2, 8, 4), n=6)
    print(result2)
